import { NextResponse } from "next/server";

import { getSignature } from "@/app/utils/signature";
import { apiClient } from "@/app/utils/client";

export async function GET() {
  const timestamp: number = Math.floor(Date.now() / 1000);

  const signature: string = getSignature(timestamp);

  const resp = await apiClient.getTemplateList(timestamp.toString(), signature);

  console.log("getTemplateList", resp);

  // const resp = {
  //   data: {
  //     total: 34,
  //     records: [
  //       {
  //         templateIndexId: "2024071754A6ADE",
  //         pageCount: 5,
  //         type: "system_template",
  //         color: "蓝色",
  //         industry: "政务",
  //         style: "商务",
  //         detailImage:
  //           '{"titleCoverImageLarge":"https://sgw-dx.xf-yun.com/api/v1/sparkdesk/_19052329831_WJ3rgd1731549534707-032810496089579777.jpeg?authorization=c2ltcGxlLWp3dCBhaz1zcGFya2Rlc2s4MDAwMDAwMDAwMDE7ZXhwPTMzMDgzNDk1MzY7YWxnbz1obWFjLXNoYTI1NjtzaWc9VFAyQmx1SmdhUTU1cmoyTnR0UFI0aGhFMStxaVd6Zko4Z1NNamQzdXU1Zz0=&x_location=7YfmxI7B7uKO7jlRxIftd60pe5D=&bg=","titleCoverImage":"https://sgw-dx.xf-yun.com/api/v1/sparkdesk/_19052329831_CSDBL11731549536666-0946520512072637.jpeg?authorization=c2ltcGxlLWp3dCBhaz1zcGFya2Rlc2s4MDAwMDAwMDAwMDE7ZXhwPTMzMDgzNDk1Mzc7YWxnbz1obWFjLXNoYTI1NjtzaWc9cGNNTzhJOFJlN3RLYlk5dUl6WFA2Mk9WR0d2MHhNaURYSHhWVEdxb25xND0=&x_location=7YfmxI7B7uKO7jlRxIftd60pe5D=&bg=","catalogueCoverImage":"https://sgw-dx.xf-yun.com/api/v1/sparkdesk/19052329831_W4d7dO1727331998552-07230451994710585.jpeg?authorization=c2ltcGxlLWp3dCBhaz1zcGFya2Rlc2s4MDAwMDAwMDAwMDE7ZXhwPTMzMDQxMzE5OTk7YWxnbz1obWFjLXNoYTI1NjtzaWc9L2ovYjgzQVNpZ3ovQi9Qc1Q1Wm9lTEtNcjdJUU9vbkxnR0hyWDMrU0gvZz0=&x_location=7YfmxI7B7uKO7jlRxIftd67ado==&bg=","chapterCoverImage":"https://sgw-dx.xf-yun.com/api/v1/sparkdesk/19052329831_BAusqV1727331999519-03726340808974393.jpeg?authorization=c2ltcGxlLWp3dCBhaz1zcGFya2Rlc2s4MDAwMDAwMDAwMDE7ZXhwPTMzMDQxMzIwMDA7YWxnbz1obWFjLXNoYTI1NjtzaWc9Q2F5NWIvMnRMRGM1S1N3VjhlcHdoRmQ1Nktpb2FlKzIrL2JOWmw4MGtuWT0=&x_location=7YfmxI7B7uKO7jlRxIftd67ado==&bg=","contentCoverImage":"https://sgw-dx.xf-yun.com/api/v1/sparkdesk/19052329831_6OybAa1727332003059-0013285391604554775.jpeg?authorization=c2ltcGxlLWp3dCBhaz1zcGFya2Rlc2s4MDAwMDAwMDAwMDE7ZXhwPTMzMDQxMzIwMDU7YWxnbz1obWFjLXNoYTI1NjtzaWc9bEdpSTFsWXo3bG1KdmFoY0ErbGxGSlM5cFRmdmxWRnI0VHRYdzVWbjlMVT0=&x_location=7YfmxI7B7uKO7jlRxIftd67ado==&bg=","endCoverImage":"https://sgw-dx.xf-yun.com/api/v1/sparkdesk/19052329831_zHZSXg1727332006185-09939511755101611.jpeg?authorization=c2ltcGxlLWp3dCBhaz1zcGFya2Rlc2s4MDAwMDAwMDAwMDE7ZXhwPTMzMDQxMzIwMDg7YWxnbz1obWFjLXNoYTI1NjtzaWc9dVhxMUd6NVhGcVk2U3pPYnNobVc4bjZFUm9ZOVdyamREcjFxYjRVYS9zYz0=&x_location=7YfmxI7B7uKO7jlRxIftd67ado==&bg="}',
  //         payType: "free",
  //       },
  //       {
  //         templateIndexId: "20240718822FE12",
  //         pageCount: 5,
  //         type: "system_template",
  //         color: "红色",
  //         industry: "政务",
  //         style: "商务",
  //         detailImage:
  //           '{"titleCoverImageLarge":"https://sgw-dx.xf-yun.com/api/v1/sparkdesk/_19052329831_ktqDci1731549571952-08525718507604709.jpeg?authorization=c2ltcGxlLWp3dCBhaz1zcGFya2Rlc2s4MDAwMDAwMDAwMDE7ZXhwPTMzMDgzNDk1NzQ7YWxnbz1obWFjLXNoYTI1NjtzaWc9RDd2aWs5amN5bkx3SmhQMUxQZWRBSE13YWcrNFVmeEo0SUszSmU3RWdCYz0=&x_location=7YfmxI7B7uKO7jlRxIftd60pe5D=&bg=","titleCoverImage":"https://sgw-dx.xf-yun.com/api/v1/sparkdesk/_19052329831_5jIj7C1731549574265-05348712352324037.jpeg?authorization=c2ltcGxlLWp3dCBhaz1zcGFya2Rlc2s4MDAwMDAwMDAwMDE7ZXhwPTMzMDgzNDk1NzU7YWxnbz1obWFjLXNoYTI1NjtzaWc9RmQvUHhvTm5jajFqd0NkMU9GTmZ6MHRkM0p2TE4vQm4vZFJGT3pUaU5FTT0=&x_location=7YfmxI7B7uKO7jlRxIftd60pe5D=&bg=","catalogueCoverImage":"https://sgw-dx.xf-yun.com/api/v1/sparkdesk/19052329831_hm4P9O1727331831860-03243113767518069.jpeg?authorization=c2ltcGxlLWp3dCBhaz1zcGFya2Rlc2s4MDAwMDAwMDAwMDE7ZXhwPTMzMDQxMzE4MzI7YWxnbz1obWFjLXNoYTI1NjtzaWc9TUNRdnZGL1lMb0JNN1g5SVNTNE5TTHA2TnNzSnI2OGMzTnRZZERyOUhOTT0=&x_location=7YfmxI7B7uKO7jlRxIftd67ado==&bg=","chapterCoverImage":"https://sgw-dx.xf-yun.com/api/v1/sparkdesk/19052329831_JodccN1727331833449-02421028169814048.jpeg?authorization=c2ltcGxlLWp3dCBhaz1zcGFya2Rlc2s4MDAwMDAwMDAwMDE7ZXhwPTMzMDQxMzE4MzY7YWxnbz1obWFjLXNoYTI1NjtzaWc9NmtxUVhFL1M3Mk93T0g5cGJheWxuK1BKNEYvM09DMTdZZjZhWE8zdldGWT0=&x_location=7YfmxI7B7uKO7jlRxIftd67ado==&bg=","contentCoverImage":"https://sgw-dx.xf-yun.com/api/v1/sparkdesk/19052329831_3U7oCL1727331838483-06503153953698391.jpeg?authorization=c2ltcGxlLWp3dCBhaz1zcGFya2Rlc2s4MDAwMDAwMDAwMDE7ZXhwPTMzMDQxMzE4Mzk7YWxnbz1obWFjLXNoYTI1NjtzaWc9SjVMcHV1TXVpcDBaTy80VVM3ek5Ib0J3ZTdJZk1xWjZFbVdEZXB0NDhCQT0=&x_location=7YfmxI7B7uKO7jlRxIftd67ado==&bg=","endCoverImage":"https://sgw-dx.xf-yun.com/api/v1/sparkdesk/19052329831_AvtTs71727331839930-08040428299983644.jpeg?authorization=c2ltcGxlLWp3dCBhaz1zcGFya2Rlc2s4MDAwMDAwMDAwMDE7ZXhwPTMzMDQxMzE4NDE7YWxnbz1obWFjLXNoYTI1NjtzaWc9OUxmNFBTQVo3M01DLzI0SzN1cWdzMnp3UEJGd0xOOVZ0REFiZVRGOFNPMD0=&x_location=7YfmxI7B7uKO7jlRxIftd67ado==&bg="}',
  //         payType: "not_free",
  //       },
  //       {
  //         templateIndexId: "20240723CE51A36",
  //         pageCount: 5,
  //         type: "system_template",
  //         color: "蓝色",
  //         industry: "科技互联网",
  //         style: "商务",
  //         detailImage:
  //           '{"titleCoverImageLarge":"https://sgw-dx.xf-yun.com/api/v1/sparkdesk/_19052329831_SZieTB1731549877068-05210078738574819.jpeg?authorization=c2ltcGxlLWp3dCBhaz1zcGFya2Rlc2s4MDAwMDAwMDAwMDE7ZXhwPTMzMDgzNDk4Nzg7YWxnbz1obWFjLXNoYTI1NjtzaWc9UnNPSko1VDM2bUwwY3pnWVc4WEUyY2pKSUxNTmNpQkUvZGtwckhkV0x2dz0=&x_location=7YfmxI7B7uKO7jlRxIftd60pe5D=&bg=","titleCoverImage":"https://sgw-dx.xf-yun.com/api/v1/sparkdesk/_19052329831_SndcbL1731549878698-012916078044147716.jpeg?authorization=c2ltcGxlLWp3dCBhaz1zcGFya2Rlc2s4MDAwMDAwMDAwMDE7ZXhwPTMzMDgzNDk4Nzk7YWxnbz1obWFjLXNoYTI1NjtzaWc9eDVENXlmMFZNR2dQMS9VeDJjaWUrY1RzZFZQUGxKWUh4eGdQTWdlMkFTZz0=&x_location=7YfmxI7B7uKO7jlRxIftd60pe5D=&bg=","catalogueCoverImage":"https://sgw-dx.xf-yun.com/api/v1/sparkdesk/19052329831_FCePCf1723186104577-008591696311178132.jpeg?authorization=c2ltcGxlLWp3dCBhaz1zcGFya2Rlc2s4MDAwMDAwMDAwMDE7ZXhwPTMyOTk5ODYxMDg7YWxnbz1obWFjLXNoYTI1NjtzaWc9akdlTzBwWjFvcEFJRmloMFZUaXcxTkcwY1hKa3F4V0FnK3VDeE9MTi9Dcz0=&x_location=7YfmxI7B7uKO7jlRxIftd6Mbdo==","chapterCoverImage":"https://sgw-dx.xf-yun.com/api/v1/sparkdesk/19052329831_6v3vBO1723186105807-05545629786687998.jpeg?authorization=c2ltcGxlLWp3dCBhaz1zcGFya2Rlc2s4MDAwMDAwMDAwMDE7ZXhwPTMyOTk5ODYxMTA7YWxnbz1obWFjLXNoYTI1NjtzaWc9V1BYM2xjc2ZmcEV3REZEMnZUenhYT1h5TXA2eGkvWlBLWnNKQWhBcVkxMD0=&x_location=7YfmxI7B7uKO7jlRxIftd6Mbdo==","contentCoverImage":"https://sgw-dx.xf-yun.com/api/v1/sparkdesk/19052329831_QStnfS1723186106904-08646541015307028.jpeg?authorization=c2ltcGxlLWp3dCBhaz1zcGFya2Rlc2s4MDAwMDAwMDAwMDE7ZXhwPTMyOTk5ODYxMTA7YWxnbz1obWFjLXNoYTI1NjtzaWc9eTRqWWNOcTZmdWRUZEZKU21pUkFNZnlyQnVuaUFPNksrdXk0djRNME8vVT0=&x_location=7YfmxI7B7uKO7jlRxIftd6Mbdo==","endCoverImage":"https://sgw-dx.xf-yun.com/api/v1/sparkdesk/19052329831_h7Fy8M1723186107536-08443276583772632.jpeg?authorization=c2ltcGxlLWp3dCBhaz1zcGFya2Rlc2s4MDAwMDAwMDAwMDE7ZXhwPTMyOTk5ODYxMTE7YWxnbz1obWFjLXNoYTI1NjtzaWc9eVI4dm00eDJRRjdhaXYyelBQRXhyK2NoN0ExaDB2TUFaK3dZSzFubHc2dz0=&x_location=7YfmxI7B7uKO7jlRxIftd6Mbdo=="}',
  //         payType: "not_free",
  //       },
  //       {
  //         templateIndexId: "202407296F8F022",
  //         pageCount: 5,
  //         type: "system_template",
  //         color: "蓝色",
  //         industry: "医疗健康",
  //         style: "商务",
  //         detailImage:
  //           '{"titleCoverImageLarge":"https://sgw-dx.xf-yun.com/api/v1/sparkdesk/_19052329831_52NcbP1731549895496-08706011614207425.jpeg?authorization=c2ltcGxlLWp3dCBhaz1zcGFya2Rlc2s4MDAwMDAwMDAwMDE7ZXhwPTMzMDgzNDk4OTc7YWxnbz1obWFjLXNoYTI1NjtzaWc9S2ZiNHI5bjR4UjZLSWFONlF1YlJEcnJ4bWU5b0cvd3ByYWFldk1RYVp3MD0=&x_location=7YfmxI7B7uKO7jlRxIftd60pe5D=&bg=","titleCoverImage":"https://sgw-dx.xf-yun.com/api/v1/sparkdesk/_19052329831_8N9gSe1731549897879-0019377542597208475.jpeg?authorization=c2ltcGxlLWp3dCBhaz1zcGFya2Rlc2s4MDAwMDAwMDAwMDE7ZXhwPTMzMDgzNDk4OTk7YWxnbz1obWFjLXNoYTI1NjtzaWc9a0RFWXBDVENhUGhucEZTR2Z2cGd1ZDc0eDRQam00amRCM3IwVHFyV3NWQT0=&x_location=7YfmxI7B7uKO7jlRxIftd60pe5D=&bg=","catalogueCoverImage":"https://sgw-dx.xf-yun.com/api/v1/sparkdesk/19052329831_zmTA4Q1723702318778-03170213477860835.jpeg?authorization=c2ltcGxlLWp3dCBhaz1zcGFya2Rlc2s4MDAwMDAwMDAwMDE7ZXhwPTMzMDA1MDIzMTk7YWxnbz1obWFjLXNoYTI1NjtzaWc9bWQyK3BkaWFiMHByYTlIV3QrRzFPY043ZlZxMWJVUUlIWEl5NUtva1dXdz0=&x_location=7YfmxI7B7uKO7jlRxIftd6Mwdo==&bg=","chapterCoverImage":"https://sgw-dx.xf-yun.com/api/v1/sparkdesk/19052329831_o0w7nm1723702319498-07011692685819091.jpeg?authorization=c2ltcGxlLWp3dCBhaz1zcGFya2Rlc2s4MDAwMDAwMDAwMDE7ZXhwPTMzMDA1MDIzMjA7YWxnbz1obWFjLXNoYTI1NjtzaWc9SEc5d3VsS2d1N3ZEaEk0ZVRkZmtobVgrUjF3blJiL0ppZkJ2cWhHWHZSRT0=&x_location=7YfmxI7B7uKO7jlRxIftd6Mwdo==&bg=","contentCoverImage":"https://sgw-dx.xf-yun.com/api/v1/sparkdesk/19052329831_wVj6Dg1723702320317-05779482655407264.jpeg?authorization=c2ltcGxlLWp3dCBhaz1zcGFya2Rlc2s4MDAwMDAwMDAwMDE7ZXhwPTMzMDA1MDIzMjE7YWxnbz1obWFjLXNoYTI1NjtzaWc9dW5VbW9TK1NRNC9NRzFSK01Fc0NrVXN5VG1vOFdRUzY5M1JRQkJRVHlzaz0=&x_location=7YfmxI7B7uKO7jlRxIftd6Mwdo==&bg=","endCoverImage":"https://sgw-dx.xf-yun.com/api/v1/sparkdesk/19052329831_p4QoLE1723702320956-021260942094929836.jpeg?authorization=c2ltcGxlLWp3dCBhaz1zcGFya2Rlc2s4MDAwMDAwMDAwMDE7ZXhwPTMzMDA1MDIzMjI7YWxnbz1obWFjLXNoYTI1NjtzaWc9aDRsUGF0V1RrR0dHNlREUU1ia3N4L1dTMW5VMnFBK1cyZTVGOUJ2d1hQST0=&x_location=7YfmxI7B7uKO7jlRxIftd6Mwdo==&bg="}',
  //         payType: "not_free",
  //       },
  //       {
  //         templateIndexId: "202407299DE0D89",
  //         pageCount: 5,
  //         type: "system_template",
  //         color: "蓝色",
  //         industry: "科技互联网",
  //         style: "商务",
  //         detailImage:
  //           '{"titleCoverImageLarge":"https://sgw-dx.xf-yun.com/api/v1/sparkdesk/_19052329831_edmght1731549900782-08226194692681981.jpeg?authorization=c2ltcGxlLWp3dCBhaz1zcGFya2Rlc2s4MDAwMDAwMDAwMDE7ZXhwPTMzMDgzNDk5MDI7YWxnbz1obWFjLXNoYTI1NjtzaWc9VHZwNE5hYzQ5cTcvL3NXRW5nRFU1ejc4empDTWRwdXhVZ0ZLU3VWdVlsdz0=&x_location=7YfmxI7B7uKO7jlRxIftd60pe5D=&bg=","titleCoverImage":"https://sgw-dx.xf-yun.com/api/v1/sparkdesk/_19052329831_oG6o301731549902458-037517787805979785.jpeg?authorization=c2ltcGxlLWp3dCBhaz1zcGFya2Rlc2s4MDAwMDAwMDAwMDE7ZXhwPTMzMDgzNDk5MDM7YWxnbz1obWFjLXNoYTI1NjtzaWc9ZEFiRGR3UVJaamNrdklnRnhIUDdybjhzUllTMlpjV0hSOWtleGJGN1pVWT0=&x_location=7YfmxI7B7uKO7jlRxIftd60pe5D=&bg=","catalogueCoverImage":"https://sgw-dx.xf-yun.com/api/v1/sparkdesk/19052329831_Ifp8sZ1723184876790-07955037864809991.jpeg?authorization=c2ltcGxlLWp3dCBhaz1zcGFya2Rlc2s4MDAwMDAwMDAwMDE7ZXhwPTMyOTk5ODQ4ODA7YWxnbz1obWFjLXNoYTI1NjtzaWc9VWRjcTJzREZMU1MxRkpKY0N2SVRmQktLajU5Rm4vN0Z5Yi9aWjNIYm9WTT0=&x_location=7YfmxI7B7uKO7jlRxIftd6Mbdo==","chapterCoverImage":"https://sgw-dx.xf-yun.com/api/v1/sparkdesk/19052329831_dqEYmc1723184877492-003732309027649894.jpeg?authorization=c2ltcGxlLWp3dCBhaz1zcGFya2Rlc2s4MDAwMDAwMDAwMDE7ZXhwPTMyOTk5ODQ4ODE7YWxnbz1obWFjLXNoYTI1NjtzaWc9M2FaWmRnWC9Hc2NXNUVkWWtrNVd4QlRoSlNjdG9pbVNUSzN6QmJDcnVaRT0=&x_location=7YfmxI7B7uKO7jlRxIftd6Mbdo==","contentCoverImage":"https://sgw-dx.xf-yun.com/api/v1/sparkdesk/19052329831_39YPKh1723184878178-02645806677534015.jpeg?authorization=c2ltcGxlLWp3dCBhaz1zcGFya2Rlc2s4MDAwMDAwMDAwMDE7ZXhwPTMyOTk5ODQ4ODE7YWxnbz1obWFjLXNoYTI1NjtzaWc9azY3SXBSMVpzeE5JSnNrOEtXWm40ZWhBZ0tudjRiaG1lYm1pNS92RDM2OD0=&x_location=7YfmxI7B7uKO7jlRxIftd6Mbdo==","endCoverImage":"https://sgw-dx.xf-yun.com/api/v1/sparkdesk/19052329831_xKIoCg1723184878869-06632530558842422.jpeg?authorization=c2ltcGxlLWp3dCBhaz1zcGFya2Rlc2s4MDAwMDAwMDAwMDE7ZXhwPTMyOTk5ODQ4ODI7YWxnbz1obWFjLXNoYTI1NjtzaWc9U3BqNG53cm5qbFo1SU4vQnlZUC81RTBjR3lrWkhwQUdvWGdvZDZrVmhuMD0=&x_location=7YfmxI7B7uKO7jlRxIftd6Mbdo=="}',
  //         payType: "not_free",
  //       },
  //       {
  //         templateIndexId: "202407305EC38F3",
  //         pageCount: 5,
  //         type: "system_template",
  //         color: "蓝色",
  //         industry: "金融战略",
  //         style: "商务",
  //         detailImage:
  //           '{"titleCoverImageLarge":"https://sgw-dx.xf-yun.com/api/v1/sparkdesk/_19052329831_SA8W641731549970720-09835561436236291.jpeg?authorization=c2ltcGxlLWp3dCBhaz1zcGFya2Rlc2s4MDAwMDAwMDAwMDE7ZXhwPTMzMDgzNDk5NzI7YWxnbz1obWFjLXNoYTI1NjtzaWc9V1h1RVZkblR4aHhzRENHKzVxOGY5VXI3SWNWK1Vkb1o0Sk9uOWJYQzFDQT0=&x_location=7YfmxI7B7uKO7jlRxIftd60pe5D=&bg=","titleCoverImage":"https://sgw-dx.xf-yun.com/api/v1/sparkdesk/_19052329831_dp9pMs1731549972205-0912569032689944.jpeg?authorization=c2ltcGxlLWp3dCBhaz1zcGFya2Rlc2s4MDAwMDAwMDAwMDE7ZXhwPTMzMDgzNDk5NzM7YWxnbz1obWFjLXNoYTI1NjtzaWc9UlZBQWgxQjl4ODVXMjZBMzZGd3JjS2VvUTVBUkptL1RDNXo5UTJvUXdoaz0=&x_location=7YfmxI7B7uKO7jlRxIftd60pe5D=&bg=","catalogueCoverImage":"https://sgw-dx.xf-yun.com/api/v1/sparkdesk/19052329831_pjf0qA1723194997495-09967886567144564.jpeg?authorization=c2ltcGxlLWp3dCBhaz1zcGFya2Rlc2s4MDAwMDAwMDAwMDE7ZXhwPTMyOTk5OTQ5OTc7YWxnbz1obWFjLXNoYTI1NjtzaWc9NjlDSnFTN0NhNGR1MUJiYzR1a0VwWFZIRW01ZVhXZUpROVZ1YkoxRDlVZz0=&x_location=7YfmxI7B7uKO7jlRxIftd6Mbdo==","chapterCoverImage":"https://sgw-dx.xf-yun.com/api/v1/sparkdesk/19052329831_ECVNpt1723194998825-07768740184779153.jpeg?authorization=c2ltcGxlLWp3dCBhaz1zcGFya2Rlc2s4MDAwMDAwMDAwMDE7ZXhwPTMyOTk5OTQ5OTk7YWxnbz1obWFjLXNoYTI1NjtzaWc9OWlVV29qY2xFUDhsTUNMa0htaTlTZEZJTlc4UWxSd3JtSlA0OW04cDU2dz0=&x_location=7YfmxI7B7uKO7jlRxIftd6Mbdo==","contentCoverImage":"https://sgw-dx.xf-yun.com/api/v1/sparkdesk/19052329831_R0JtHI1723195000073-01515081073259612.jpeg?authorization=c2ltcGxlLWp3dCBhaz1zcGFya2Rlc2s4MDAwMDAwMDAwMDE7ZXhwPTMyOTk5OTUwMDA7YWxnbz1obWFjLXNoYTI1NjtzaWc9L1FKaFlJOVFQUUVuUCtyNlR6czA3UVMxcXhKVk9CbnBJQ0dqQ0lGZEZGTT0=&x_location=7YfmxI7B7uKO7jlRxIftd6Mbdo==","endCoverImage":"https://sgw-dx.xf-yun.com/api/v1/sparkdesk/19052329831_R7eUCJ1723195001292-05450172925743271.jpeg?authorization=c2ltcGxlLWp3dCBhaz1zcGFya2Rlc2s4MDAwMDAwMDAwMDE7ZXhwPTMyOTk5OTUwMDE7YWxnbz1obWFjLXNoYTI1NjtzaWc9dXpldFhrRXAzeE01S2FpTDU5NFNodkZjbWJlSUE3OVZQbUU4Rmo4ak1JQT0=&x_location=7YfmxI7B7uKO7jlRxIftd6Mbdo=="}',
  //         payType: "not_free",
  //       },
  //       {
  //         templateIndexId: "20240730420573A",
  //         pageCount: 5,
  //         type: "system_template",
  //         color: "红色",
  //         industry: "电子商务",
  //         style: "商务",
  //         detailImage:
  //           '{"titleCoverImageLarge":"https://sgw-dx.xf-yun.com/api/v1/sparkdesk/_19052329831_9X5Fm31731549987880-09693119121010914.jpeg?authorization=c2ltcGxlLWp3dCBhaz1zcGFya2Rlc2s4MDAwMDAwMDAwMDE7ZXhwPTMzMDgzNDk5ODk7YWxnbz1obWFjLXNoYTI1NjtzaWc9RlRsSityNEFnNEdxcVhsUmY5TGNQWkMzR3J5YnhnTHBGcjR3S0hXVWxrND0=&x_location=7YfmxI7B7uKO7jlRxIftd60pe5D=&bg=","titleCoverImage":"https://sgw-dx.xf-yun.com/api/v1/sparkdesk/_19052329831_U0mOdE1731549989733-022615525090461874.jpeg?authorization=c2ltcGxlLWp3dCBhaz1zcGFya2Rlc2s4MDAwMDAwMDAwMDE7ZXhwPTMzMDgzNDk5OTA7YWxnbz1obWFjLXNoYTI1NjtzaWc9Z3lQVFBHMzlodTJ5aUN4VUlLNnlhUFk4N2dtZWlneVJHQmZRcGljSDRWbz0=&x_location=7YfmxI7B7uKO7jlRxIftd60pe5D=&bg=","catalogueCoverImage":"https://sgw-dx.xf-yun.com/api/v1/sparkdesk/19052329831_OoAeOf1727331513438-020280910089251192.jpeg?authorization=c2ltcGxlLWp3dCBhaz1zcGFya2Rlc2s4MDAwMDAwMDAwMDE7ZXhwPTMzMDQxMzE1MTM7YWxnbz1obWFjLXNoYTI1NjtzaWc9bFNJbFl1djRpSmxFNVc5V1p3KzBnWWgyeXdzWHJiOFlqNU91VGdydi92bz0=&x_location=7YfmxI7B7uKO7jlRxIftd67ado==&bg=","chapterCoverImage":"https://sgw-dx.xf-yun.com/api/v1/sparkdesk/19052329831_8qqMir1727331514422-0464779148158609.jpeg?authorization=c2ltcGxlLWp3dCBhaz1zcGFya2Rlc2s4MDAwMDAwMDAwMDE7ZXhwPTMzMDQxMzE1MTQ7YWxnbz1obWFjLXNoYTI1NjtzaWc9RjlDSjd4T2tTSXFvSTI1cUlvNnZ1U0h1a3htSklMd1dXbzBHYXdjSTVYOD0=&x_location=7YfmxI7B7uKO7jlRxIftd67ado==&bg=","contentCoverImage":"https://sgw-dx.xf-yun.com/api/v1/sparkdesk/19052329831_GdhO0N1727331516767-05992968282425046.jpeg?authorization=c2ltcGxlLWp3dCBhaz1zcGFya2Rlc2s4MDAwMDAwMDAwMDE7ZXhwPTMzMDQxMzE1MTc7YWxnbz1obWFjLXNoYTI1NjtzaWc9bTB4S0RvQm14M0Y3TmpuRTM2TkZhSHZPeTBPTEdzSDdFL0Y3SUVMUm1xWT0=&x_location=7YfmxI7B7uKO7jlRxIftd67ado==&bg=","endCoverImage":"https://sgw-dx.xf-yun.com/api/v1/sparkdesk/19052329831_K4oILN1727331517778-06875151561364414.jpeg?authorization=c2ltcGxlLWp3dCBhaz1zcGFya2Rlc2s4MDAwMDAwMDAwMDE7ZXhwPTMzMDQxMzE1MTg7YWxnbz1obWFjLXNoYTI1NjtzaWc9dlBSR0RkUnNRbXg4VXhGd2hmNTE2dFlqd1o3Y3ZVUmdDVSsvZnZlY3FEZz0=&x_location=7YfmxI7B7uKO7jlRxIftd67ado==&bg="}',
  //         payType: "not_free",
  //       },
  //       {
  //         templateIndexId: "202407309C7F4B8",
  //         pageCount: 5,
  //         type: "system_template",
  //         color: "黑色",
  //         industry: "金融战略",
  //         style: "商务",
  //         detailImage:
  //           '{"titleCoverImageLarge":"https://sgw-dx.xf-yun.com/api/v1/sparkdesk/_19052329831_USYUIJ1731549992181-002679654544764065.jpeg?authorization=c2ltcGxlLWp3dCBhaz1zcGFya2Rlc2s4MDAwMDAwMDAwMDE7ZXhwPTMzMDgzNDk5OTQ7YWxnbz1obWFjLXNoYTI1NjtzaWc9ejNhdEtUd3FNNmtjRlpFazJYYlRLWHZib1lKckFGQjZCalNBK3VUcnBncz0=&x_location=7YfmxI7B7uKO7jlRxIftd60pe5D=&bg=","titleCoverImage":"https://sgw-dx.xf-yun.com/api/v1/sparkdesk/_19052329831_AsgIPy1731549994711-05728844536464139.jpeg?authorization=c2ltcGxlLWp3dCBhaz1zcGFya2Rlc2s4MDAwMDAwMDAwMDE7ZXhwPTMzMDgzNDk5OTY7YWxnbz1obWFjLXNoYTI1NjtzaWc9Z1p3V0dGdThuYm84ZGJoWE5WeVN4RXhIaDJSWDZnb3ArK1BvTEZnS2NEUT0=&x_location=7YfmxI7B7uKO7jlRxIftd60pe5D=&bg=","catalogueCoverImage":"https://sgw-dx.xf-yun.com/api/v1/sparkdesk/19052329831_uxrG1c1723183049236-048317748895536927.jpeg?authorization=c2ltcGxlLWp3dCBhaz1zcGFya2Rlc2s4MDAwMDAwMDAwMDE7ZXhwPTMyOTk5ODMwNTM7YWxnbz1obWFjLXNoYTI1NjtzaWc9eGtXNG4vZ0p0SVdpY2hpa2hycFBSdlpCVXRNNFIxSXdhcGphRDIwTHFjQT0=&x_location=7YfmxI7B7uKO7jlRxIftd6Mbdo==","chapterCoverImage":"https://sgw-dx.xf-yun.com/api/v1/sparkdesk/19052329831_ZzK2Kj1723183050476-06183368007540218.jpeg?authorization=c2ltcGxlLWp3dCBhaz1zcGFya2Rlc2s4MDAwMDAwMDAwMDE7ZXhwPTMyOTk5ODMwNTQ7YWxnbz1obWFjLXNoYTI1NjtzaWc9NWxZajF2dFNrQ05GMUxLdDY1bndnSE9WS3pHMjEvT28vM3ZheDNvaXVTST0=&x_location=7YfmxI7B7uKO7jlRxIftd6Mbdo==","contentCoverImage":"https://sgw-dx.xf-yun.com/api/v1/sparkdesk/19052329831_2Q5ed21723183051555-09660502759319907.jpeg?authorization=c2ltcGxlLWp3dCBhaz1zcGFya2Rlc2s4MDAwMDAwMDAwMDE7ZXhwPTMyOTk5ODMwNTU7YWxnbz1obWFjLXNoYTI1NjtzaWc9b0Vsa1haNUFUYTdrbWs3azFCU1RWTWNFT0ltcW9ZSFRtemhmMHp2amlHVT0=&x_location=7YfmxI7B7uKO7jlRxIftd6Mbdo==","endCoverImage":"https://sgw-dx.xf-yun.com/api/v1/sparkdesk/19052329831_80b1971723183052405-045329178732682385.jpeg?authorization=c2ltcGxlLWp3dCBhaz1zcGFya2Rlc2s4MDAwMDAwMDAwMDE7ZXhwPTMyOTk5ODMwNTY7YWxnbz1obWFjLXNoYTI1NjtzaWc9M0xtVWZ6eVJDbklFeUk4T0F0ZWRFb2l1RWNzQ0hKWHpob214RElnejVEcz0=&x_location=7YfmxI7B7uKO7jlRxIftd6Mbdo=="}',
  //         payType: "not_free",
  //       },
  //       {
  //         templateIndexId: "20240730D6721EF",
  //         pageCount: 5,
  //         type: "system_template",
  //         color: "蓝色",
  //         industry: "金融战略",
  //         style: "商务",
  //         detailImage:
  //           '{"titleCoverImageLarge":"https://sgw-dx.xf-yun.com/api/v1/sparkdesk/_19052329831_6r8aU51731550006878-0853694339589117.jpeg?authorization=c2ltcGxlLWp3dCBhaz1zcGFya2Rlc2s4MDAwMDAwMDAwMDE7ZXhwPTMzMDgzNTAwMDk7YWxnbz1obWFjLXNoYTI1NjtzaWc9RGZWVWZiaDl1QVhkT2kwejM3WVpHSjFCeVRNeUxlSUJmOTFMNkdZYmJkUT0=&x_location=7YfmxI7B7uKO7jlRxIftd60pe5D=&bg=","titleCoverImage":"https://sgw-dx.xf-yun.com/api/v1/sparkdesk/_19052329831_s1RyUx1731550009041-030033038697250336.jpeg?authorization=c2ltcGxlLWp3dCBhaz1zcGFya2Rlc2s4MDAwMDAwMDAwMDE7ZXhwPTMzMDgzNTAwMTA7YWxnbz1obWFjLXNoYTI1NjtzaWc9aFA1Z2FwZ1hKK2J6K0pOR1hHa1d5QUFsMWxqMUlrazA4V3RERGhZRndLMD0=&x_location=7YfmxI7B7uKO7jlRxIftd60pe5D=&bg=","catalogueCoverImage":"https://sgw-dx.xf-yun.com/api/v1/sparkdesk/19052329831_VuJ8TY1727331466860-0768903564098564.jpeg?authorization=c2ltcGxlLWp3dCBhaz1zcGFya2Rlc2s4MDAwMDAwMDAwMDE7ZXhwPTMzMDQxMzE0Njg7YWxnbz1obWFjLXNoYTI1NjtzaWc9UFpidkhFWmwwZDkrbWg0dUIvcmVZUmpFQzF1QVY4WEtHNjFCWDlBN1gxdz0=&x_location=7YfmxI7B7uKO7jlRxIftd67ado==&bg=","chapterCoverImage":"https://sgw-dx.xf-yun.com/api/v1/sparkdesk/19052329831_AUF2Mu1727331468641-05650196975839767.jpeg?authorization=c2ltcGxlLWp3dCBhaz1zcGFya2Rlc2s4MDAwMDAwMDAwMDE7ZXhwPTMzMDQxMzE0NzA7YWxnbz1obWFjLXNoYTI1NjtzaWc9NmVpZkYyaW83RGlJTE5PM3pucHVBSkZKdmhwL0tKN3BjL2wxS0V4Mk0yYz0=&x_location=7YfmxI7B7uKO7jlRxIftd67ado==&bg=","contentCoverImage":"https://sgw-dx.xf-yun.com/api/v1/sparkdesk/19052329831_Q7dczh1727331472466-013912271173140178.jpeg?authorization=c2ltcGxlLWp3dCBhaz1zcGFya2Rlc2s4MDAwMDAwMDAwMDE7ZXhwPTMzMDQxMzE0NzM7YWxnbz1obWFjLXNoYTI1NjtzaWc9TC9Ib1Fza3NSMS90U1RBQlptbzBBZTBDRFRUZE5rK3lzUFFHSlVrb0hjWT0=&x_location=7YfmxI7B7uKO7jlRxIftd67ado==&bg=","endCoverImage":"https://sgw-dx.xf-yun.com/api/v1/sparkdesk/19052329831_RpgJAB1727331473958-07772470394873734.jpeg?authorization=c2ltcGxlLWp3dCBhaz1zcGFya2Rlc2s4MDAwMDAwMDAwMDE7ZXhwPTMzMDQxMzE0NzQ7YWxnbz1obWFjLXNoYTI1NjtzaWc9MWJ6aFlpQUFHOTZLR3VIeTkybjJDS2hxKzRwWlhUT1pCWGdHc0VVc1IyZz0=&x_location=7YfmxI7B7uKO7jlRxIftd67ado==&bg="}',
  //         payType: "not_free",
  //       },
  //       {
  //         templateIndexId: "20240730B04EDC6",
  //         pageCount: 5,
  //         type: "system_template",
  //         color: "蓝色",
  //         industry: "电子商务",
  //         style: "商务",
  //         detailImage:
  //           '{"titleCoverImageLarge":"https://sgw-dx.xf-yun.com/api/v1/sparkdesk/_19052329831_MH9IAD1731550062493-011488590690718614.jpeg?authorization=c2ltcGxlLWp3dCBhaz1zcGFya2Rlc2s4MDAwMDAwMDAwMDE7ZXhwPTMzMDgzNTAwNjQ7YWxnbz1obWFjLXNoYTI1NjtzaWc9clVPMXBrZDZ0RWhnNnRudVZSWjR0WVZhcVhHcE1FRjhmNzNBa0VZOTBtUT0=&x_location=7YfmxI7B7uKO7jlRxIftd60pe5D=&bg=","titleCoverImage":"https://sgw-dx.xf-yun.com/api/v1/sparkdesk/_19052329831_XzyAEw1731550064594-034838052078396875.jpeg?authorization=c2ltcGxlLWp3dCBhaz1zcGFya2Rlc2s4MDAwMDAwMDAwMDE7ZXhwPTMzMDgzNTAwNjU7YWxnbz1obWFjLXNoYTI1NjtzaWc9M2NTU1ZRU1QyOWpUQWFXV2prVW1rQU1UNDd6ZUp0NFdYejFHZURZUWVoZz0=&x_location=7YfmxI7B7uKO7jlRxIftd60pe5D=&bg=","catalogueCoverImage":"https://sgw-dx.xf-yun.com/api/v1/sparkdesk/19052329831_pVsWYl1727331398231-05866509944728284.jpeg?authorization=c2ltcGxlLWp3dCBhaz1zcGFya2Rlc2s4MDAwMDAwMDAwMDE7ZXhwPTMzMDQxMzEzOTg7YWxnbz1obWFjLXNoYTI1NjtzaWc9aXE4b1ZnVHZ3eGZkcmtkZW5KL3l3OEhWa3JHSHhSY3paY2tRYllaU3RpYz0=&x_location=7YfmxI7B7uKO7jlRxIftd67ado==&bg=","chapterCoverImage":"https://sgw-dx.xf-yun.com/api/v1/sparkdesk/19052329831_apkpzr1727331399346-03906337095021568.jpeg?authorization=c2ltcGxlLWp3dCBhaz1zcGFya2Rlc2s4MDAwMDAwMDAwMDE7ZXhwPTMzMDQxMzE0MDA7YWxnbz1obWFjLXNoYTI1NjtzaWc9T283Rk9rU0x6M3M5UkFlSnUrcDFwNDAzWXdZdjhqSU9HdU1ERGRETGtEcz0=&x_location=7YfmxI7B7uKO7jlRxIftd67ado==&bg=","contentCoverImage":"https://sgw-dx.xf-yun.com/api/v1/sparkdesk/19052329831_staJW51727331402790-03406603978436695.jpeg?authorization=c2ltcGxlLWp3dCBhaz1zcGFya2Rlc2s4MDAwMDAwMDAwMDE7ZXhwPTMzMDQxMzE0MDM7YWxnbz1obWFjLXNoYTI1NjtzaWc9NGxCNndITndqSHlvdVg1dEhjdlVMZE8rL0w5S1paRFYrVVFDZ096MVNvUT0=&x_location=7YfmxI7B7uKO7jlRxIftd67ado==&bg=","endCoverImage":"https://sgw-dx.xf-yun.com/api/v1/sparkdesk/19052329831_mAQaPH1727331404031-03238911326224645.jpeg?authorization=c2ltcGxlLWp3dCBhaz1zcGFya2Rlc2s4MDAwMDAwMDAwMDE7ZXhwPTMzMDQxMzE0MDQ7YWxnbz1obWFjLXNoYTI1NjtzaWc9WW5MaGpPVzcwdW5KSjl4OE5mRm9GaVlnbzNpL25KamdyTnBoSTA0RUhJND0=&x_location=7YfmxI7B7uKO7jlRxIftd67ado==&bg="}',
  //         payType: "not_free",
  //       },
  //     ],
  //     pageNum: 0,
  //   },
  // };

  return NextResponse.json(resp.data, { status: 200 });
}
